package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 动力电池型号对象 t_power_battery_model
 * 
 * @author ruoyi
 * @date 2025-10-01
 */
public class TPowerBatteryModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 型号名称 */
    @Excel(name = "型号名称")
    private String modelName;

    /** 储能装置类型 */
    @Excel(name = "储能装置类型")
    private String energyStorageType;

    /** 装电量 kWh */
    @Excel(name = "装电量 kWh")
    private BigDecimal installedCapacityKwh;

    /** 电池系统能量密度 Wh/kg */
    @Excel(name = "电池系统能量密度 Wh/kg")
    private BigDecimal batterySystemEnergyDensity;

    /** 储能装置总成质量 kg */
    @Excel(name = "储能装置总成质量 kg")
    private BigDecimal energyStorageTotalMass;

    /** 电池单体供应商 */
    @Excel(name = "电池单体供应商")
    private String batteryCellSupplier;

    /** 电池系统供应商 */
    @Excel(name = "电池系统供应商")
    private String batterySystemSupplier;

    /** 电池系统额定电压 V */
    @Excel(name = "电池系统额定电压 V")
    private BigDecimal batterySystemRatedVoltage;

    /** 电池系统额定容量 Ah */
    @Excel(name = "电池系统额定容量 Ah")
    private BigDecimal batterySystemRatedCapacity;

    /** 电池系统装电量 kWh */
    @Excel(name = "电池系统装电量 kWh")
    private BigDecimal batterySystemInstalledCapacityKwh;

    /** 驱动电机供应商 */
    @Excel(name = "驱动电机供应商")
    private String driveMotorSupplier;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }

    public void setEnergyStorageType(String energyStorageType) 
    {
        this.energyStorageType = energyStorageType;
    }

    public String getEnergyStorageType() 
    {
        return energyStorageType;
    }

    public void setInstalledCapacityKwh(BigDecimal installedCapacityKwh) 
    {
        this.installedCapacityKwh = installedCapacityKwh;
    }

    public BigDecimal getInstalledCapacityKwh() 
    {
        return installedCapacityKwh;
    }

    public void setBatterySystemEnergyDensity(BigDecimal batterySystemEnergyDensity) 
    {
        this.batterySystemEnergyDensity = batterySystemEnergyDensity;
    }

    public BigDecimal getBatterySystemEnergyDensity() 
    {
        return batterySystemEnergyDensity;
    }

    public void setEnergyStorageTotalMass(BigDecimal energyStorageTotalMass) 
    {
        this.energyStorageTotalMass = energyStorageTotalMass;
    }

    public BigDecimal getEnergyStorageTotalMass() 
    {
        return energyStorageTotalMass;
    }

    public void setBatteryCellSupplier(String batteryCellSupplier) 
    {
        this.batteryCellSupplier = batteryCellSupplier;
    }

    public String getBatteryCellSupplier() 
    {
        return batteryCellSupplier;
    }

    public void setBatterySystemSupplier(String batterySystemSupplier) 
    {
        this.batterySystemSupplier = batterySystemSupplier;
    }

    public String getBatterySystemSupplier() 
    {
        return batterySystemSupplier;
    }

    public void setBatterySystemRatedVoltage(BigDecimal batterySystemRatedVoltage) 
    {
        this.batterySystemRatedVoltage = batterySystemRatedVoltage;
    }

    public BigDecimal getBatterySystemRatedVoltage() 
    {
        return batterySystemRatedVoltage;
    }

    public void setBatterySystemRatedCapacity(BigDecimal batterySystemRatedCapacity) 
    {
        this.batterySystemRatedCapacity = batterySystemRatedCapacity;
    }

    public BigDecimal getBatterySystemRatedCapacity() 
    {
        return batterySystemRatedCapacity;
    }

    public void setBatterySystemInstalledCapacityKwh(BigDecimal batterySystemInstalledCapacityKwh) 
    {
        this.batterySystemInstalledCapacityKwh = batterySystemInstalledCapacityKwh;
    }

    public BigDecimal getBatterySystemInstalledCapacityKwh() 
    {
        return batterySystemInstalledCapacityKwh;
    }

    public void setDriveMotorSupplier(String driveMotorSupplier) 
    {
        this.driveMotorSupplier = driveMotorSupplier;
    }

    public String getDriveMotorSupplier() 
    {
        return driveMotorSupplier;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("modelName", getModelName())
            .append("energyStorageType", getEnergyStorageType())
            .append("installedCapacityKwh", getInstalledCapacityKwh())
            .append("batterySystemEnergyDensity", getBatterySystemEnergyDensity())
            .append("energyStorageTotalMass", getEnergyStorageTotalMass())
            .append("batteryCellSupplier", getBatteryCellSupplier())
            .append("batterySystemSupplier", getBatterySystemSupplier())
            .append("batterySystemRatedVoltage", getBatterySystemRatedVoltage())
            .append("batterySystemRatedCapacity", getBatterySystemRatedCapacity())
            .append("batterySystemInstalledCapacityKwh", getBatterySystemInstalledCapacityKwh())
            .append("driveMotorSupplier", getDriveMotorSupplier())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
